package folderLogger.outputFile.formatting;

import folderLogger.outputFile.OutputFileFormat;

public class OutputFormatterFactory {

	public static OutputFileFormatter getFormatter(OutputFileFormat type) {
		switch(type)
		{
		case XML:
			return new OutputFileXml();
		case HTML:
			return new OutputFileHtml();
		default:
			return null;
		}
	}

}
